﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
using System.Threading.Tasks;
using System.Xml.Linq;
using CoreShop.Library;
using CoreShop.Model;
using CoreShop.Repository;
using Newtonsoft.Json;
using SqlSugar;


namespace CoreShop.Services
{
    /// <summary>
    /// 接口实现
    /// </summary>
    public class corecmspayaccountServices : Repository<corecmspayaccount>, IcorecmspayaccountServices
    {
        /// <summary>
        /// 重写异步插入方法
        /// </summary>
        /// <param name="entity">实体数据</param>
        /// <returns></returns>
        public bool InsertAsync(corecmspayaccount entity)
        {
            return base.Change<corecmspayaccount>().Insert(entity);
        }
        public bool InsertOrUpdate(List<corecmspayaccount> entity)
        {
            return base.InsertOrUpdate(entity);
        }
    }
}
